/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufpe.cin.modcs.petrinet;

import br.ufpe.cin.modcs.util.Matrix;

/**
 *
 * @author Fabio Chicout
 */
public class PetriNet {

    public Matrix input,  output,  marking,  incidence;

    public boolean isShootable(){
        return true;
    }
    
    public void calculateIncidence(){
        if (input!=null && output!= null){
            incidence = output.minus(input);
        }
    }
    public boolean isPure() {
        if (input.times(output).equals(input)) {
            return true;
        } else {
            return false;
        }
        
    }
}
